package com.wanhe.viewconf.views.child;

/**
 * File Name:IXYView.java<br/>
 * Package Name:com.wanhe.viewconf<br/>
 * Date:2017/6/29 14:44<br/>
 * author:chendeji<br/>
 * desc: 用于抽象设计器控件的一个功能描述接口<br/>
 * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
 *
 */
public interface IXYView {

    /**
     * Methor Name:getLeft<br/>
     * Package Name:com.wanhe.viewconf<br/>
     * Methor Parmes:<br/>
     * Retrun:<br/>
     * Date:2017/6/29 14:54<br/>
     * author:chendeji<br/>
     * desc: 返回设计器上关于这个控件的X轴坐标的比例<br/>
     * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
     *
     */
    double getLeftPT();
    void setLeftPT(double left);

    /**
     * Methor Name:getTop<br/>
     * Package Name:com.wanhe.viewconf<br/>
     * Methor Parmes:<br/>
     * Retrun:<br/>
     * Date:2017/6/29 14:56<br/>
     * author:chendeji<br/>
     * desc: 返回设计器上关于这个控件的Y轴坐标的比例<br/>
     * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
     *
     */
    double getTopPT();
    void setTopPT(double top);

    /**
     * Methor Name:getWidth<br/>
     * Package Name:com.wanhe.viewconf<br/>
     * Methor Parmes:<br/>
     * Retrun:<br/>
     * Date:2017/6/29 14:57<br/>
     * author:chendeji<br/>
     * desc: 返回设计器上关于这个控件的宽度比例信息<br/>
     * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
     *
     */
    double getWidthPT();
    void setWidthPT(double width);

    /**
     * Methor Name:getHeight<br/>
     * Package Name:com.wanhe.viewconf<br/>
     * Methor Parmes:<br/>
     * Retrun:<br/>
     * Date:2017/6/29 15:16<br/>
     * author:chendeji<br/>
     * desc: 返回设计器上关于这个控件的的高度比例信息<br/>
     * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
     *
     */
    double getHeightPT();
    void setHeightPT(double height);

    /**
     * Methor Name:transpRectBound<br/>
     * Package Name:com.wanhe.viewconf<br/>
     * Methor Parmes:<br/>
     * Retrun: <br/>
     * Date:2017/6/29 15:20<br/>
     * author:chendeji<br/>
     * desc: 用于临时变换设计器倍乘的转换情况<br/>
     * Copyright (c) 2017/6/29, 781571323@qq.com All Rights Reserved.
     *
     */
    int[] transpRect(double left, double top, double right, double bottom);
}
